<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'foodId'); ?>
		<?php echo $form->textField($model,'foodId',array('size'=>20,'maxlength'=>20)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'name'); ?>
		<?php echo $form->textField($model,'name',array('size'=>60,'maxlength'=>255)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'foodGroupId'); ?>
		<?php echo $form->textField($model,'foodGroupId'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'shortDescription'); ?>
		<?php echo $form->textField($model,'shortDescription',array('size'=>60,'maxlength'=>60)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'water'); ?>
		<?php echo $form->textField($model,'water'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'energyKcal'); ?>
		<?php echo $form->textField($model,'energyKcal'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'protein'); ?>
		<?php echo $form->textField($model,'protein'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'carbohydrate'); ?>
		<?php echo $form->textField($model,'carbohydrate'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'totalDietaryFiber'); ?>
		<?php echo $form->textField($model,'totalDietaryFiber'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'totalSugar'); ?>
		<?php echo $form->textField($model,'totalSugar'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'calcium'); ?>
		<?php echo $form->textField($model,'calcium'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'iron'); ?>
		<?php echo $form->textField($model,'iron'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'magnesium'); ?>
		<?php echo $form->textField($model,'magnesium'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'phosphorus'); ?>
		<?php echo $form->textField($model,'phosphorus'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'potassium'); ?>
		<?php echo $form->textField($model,'potassium'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'sodium'); ?>
		<?php echo $form->textField($model,'sodium'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'zinc'); ?>
		<?php echo $form->textField($model,'zinc'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'copper'); ?>
		<?php echo $form->textField($model,'copper'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'manganese'); ?>
		<?php echo $form->textField($model,'manganese'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'selenium'); ?>
		<?php echo $form->textField($model,'selenium'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'vitaminC'); ?>
		<?php echo $form->textField($model,'vitaminC'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'thiaminB1'); ?>
		<?php echo $form->textField($model,'thiaminB1'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'riboflavinB2'); ?>
		<?php echo $form->textField($model,'riboflavinB2'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'niacin'); ?>
		<?php echo $form->textField($model,'niacin'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'vitaminB6'); ?>
		<?php echo $form->textField($model,'vitaminB6'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'folicAcid'); ?>
		<?php echo $form->textField($model,'folicAcid'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'vitaminB12'); ?>
		<?php echo $form->textField($model,'vitaminB12'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'vitaminAIU'); ?>
		<?php echo $form->textField($model,'vitaminAIU'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'vitaminE'); ?>
		<?php echo $form->textField($model,'vitaminE'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'vitaminDIU'); ?>
		<?php echo $form->textField($model,'vitaminDIU'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'saturatedFattyAcid'); ?>
		<?php echo $form->textField($model,'saturatedFattyAcid'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'monoFattyAcid'); ?>
		<?php echo $form->textField($model,'monoFattyAcid'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'polyFattyAcid'); ?>
		<?php echo $form->textField($model,'polyFattyAcid'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'cholesterol'); ?>
		<?php echo $form->textField($model,'cholesterol'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'gramWeight1'); ?>
		<?php echo $form->textField($model,'gramWeight1'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'gramWeightDescription1'); ?>
		<?php echo $form->textField($model,'gramWeightDescription1',array('size'=>60,'maxlength'=>120)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'gramWeight2'); ?>
		<?php echo $form->textField($model,'gramWeight2'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'gramWeightDescription2'); ?>
		<?php echo $form->textField($model,'gramWeightDescription2',array('size'=>60,'maxlength'=>120)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'percentRefuse'); ?>
		<?php echo $form->textField($model,'percentRefuse'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->